package com.soloyogame.anitoys.service.impl;import javax.annotation.Resource;import com.soloyogame.anitoys.core.ServersManager;import com.soloyogame.anitoys.db.commond.PopularityProduct;import com.soloyogame.anitoys.db.dao.PopularityProductDao;import com.soloyogame.anitoys.service.PopularityProductService;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.stereotype.Service;@Service("popularityProductServiceManage")public class PopularityProductServiceImpl extends ServersManager<PopularityProduct, PopularityProductDao> implements PopularityProductService {	private static final Logger logger = LoggerFactory.getLogger(PopularityProductServiceImpl.class);	@Override    @Resource	public void setDao(PopularityProductDao popularityProductDao) 	{		this.dao = popularityProductDao;	}	/**	 * 根据主键ID删除	 * @param id	 * @return	 */	public int deleteById(int id) 	{		return this.dao.deleteById(id);	}}